import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import '@/styles/common.scss'
import 'element-plus/dist/index.css'

//引入全局组件导入
import { componentPlugin } from './components'
// 引入懒加载插件
import { lazyPlugin } from '@/directives'
const app = createApp(App)
app.use(lazyPlugin)
app.use(componentPlugin)

app.use(router)
app.use(createPinia())

app.mount('#app')
